﻿<link rel="stylesheet" href="../css/body.css" type="text/css" />
<script type="text/javascript" src="../js/view.js"></script>

﻿<script type="text/javascript">
Ext.onReady(function(){
	
	view.view_content('content_contact','tbcontent_contact');
	$('#del_content_contact').click(function(){
		var ids= common.getChecked('content_contact');
		if(ids == ""){
			alert("Chọn nội dung cần xóa");
		}else{
			if(confirm("Bạn chắc chắn muốn xóa?")){
				view.delete_content('6',ids,'tbcontent_contact');
			}
		}
	});
});
</script>

<link rel="stylesheet" href="css/body.css" type="text/css" />
	
 <h2>CONTACT</h2>
	
<div id="wrapper">
	<form id="form" method="POST" action="">
		<fieldset>
			<legend>Content&nbsp;Table</legend>
			<div id='tbcontent_contact'></div>

		</fieldset>
		<div class="btn-submit">
				<input type="button" id="del_content_contact" value="DELETE"/>
		</div>
	</form>
</div>